import api from '../../plugins/request/'
const school = "/cloud/service-school-plus"
export async function myTimetable(params) {
	let res = await api.post(school + '/timetable/my', params, true);
	return res
}
export async function loverTimetable(params) {
	let res = await api.post(school + '/timetable/lover', params, true);
	return res
}
export async function loverCount(params) {
	let res = await api.post(school + '/timetable/loverCount', params, true);
	return res
}
export async function className(params) {
	let res = await api.get(school + '/timetable/className', params, true);
	return res
}
export async function scoreTerm(params) {
	let res = await api.get(school + '/score/term', params, true);
	return res
}
export async function score(params) {
	let res = await api.get(school + '/score/list', params, true);
	return res
}
export async function noScore(params) {
	let res = await api.get(school + '/score/no', params, true);
	return res
}
export async function certificate(params) {
	let res = await api.get(school + '/score/certificate', params, true);
	return res
}
export async function exam(params) {
	let res = await api.get(school + '/exam/info', params, true);
	return res
}
export async function scoreXG(params) {
	let res = await api.get(school + '/score/xg/info', params, true);
	return res
}
export async function termScore(params) {
	let res = await api.get(school + '/score/term/score', params, true);
	return res
}
export async function scoreAnalyze(params) {
	let res = await api.get(school + '/score/score/analyze', params, true);
	return res
}
export async function volunteers(params) {
	let res = await api.get(school + '/volunteers/info', params, true);
	return res
}
export async function bus(params) {
	let res = await api.get(school + '/bus/info', params, true);
	return res
}
export async function virusPlace(params) {
	let res = await api.get(school + '/virus/placeInfo', params, true);
	return res
}
export async function scoreShare(params) {
	let res = await api.get(school + '/score/share', params, true);
	return res
}
export async function scoreShareCancel(params) {
	let res = await api.get(school + '/score/share/cancel', params, true);
	return res
}
export async function scoreReceive(params) {
	let res = await api.get(school + '/score/receive', params, true);
	return res
}
export async function scoreReceiveCancel(params) {
	let res = await api.get(school + '/score/receive/cancel', params, true);
	return res
}
export async function scoreGetShareScoreInfo(params) {
	let res = await api.get(school + '/score/get/share/score/info', params, true);
	return res
}
export async function scoreReceiveInfo(params) {
	let res = await api.get(school + '/score/receive/info', params, true);
	return res
}
export async function scoreShareInfo(params) {
	let res = await api.get(school + '/score/share/info', params, true);
	return res
}
export async function bookInfo(params) {
	let res = await api.get(school + '/book/info', params, true);
	return res
}
export async function bookHistory(params) {
	let res = await api.get(school + '/book/history', params, true);
	return res
}
export async function bookCurrent(params) {
	let res = await api.get(school + '/book/current', params, true);
	return res
}
export async function scoreRankTypeList(params) {
	let res = await api.get(school + '/score/rank/type', params, true);
	return res
}
export async function scoreRankList(params) {
	let res = await api.post(school + '/score/rank', params, true);
	return res
}
export async function scoreSingleRankTypeList(params) {
	let res = await api.get(school + '/score/single/rank/type', params, true);
	return res
}
export async function scoreSingleRankList(params) {
	let res = await api.post(school + '/score/single/rank', params, true);
	return res
}
export async function interviewInfo(params) {
	let res = await api.get(school + '/interview/info', params, true);
	return res
}
export async function interviewType(params) {
	let res = await api.get(school + '/interview/type', params, true);
	return res
}
export async function searchQuestion(params) {
	let res = await api.get(school + '/question/info', params, true);
	return res
}
export async function internshipList(params) {
	let res = await api.get(school + '/internship/list', params, true);
	return res
}
export async function internshipSign(params) {
	let res = await api.post(school + '/internship/sign', params, true);
	return res
}
export async function enrollInfo(params) {
	let res = await api.get(school + '/enroll/info', params, true);
	return res
}
export async function internshipAddRemind(params) {
	let res = await api.get(school + '/internship/addRemind', params, true);
	return res
}
export async function healthAddRemind(params) {
	let res = await api.get(school + '/health/addRemind', params, true);
	return res
}
export async function tweetList(params) {
	let res = await api.get(school + '/tweet/list', params, true);
	return res
}
export async function timetableAddOneRemind(params) {
	let res = await api.post(school + '/timetable/subscribeOne', params, true);
	return res
}

export default {
	myTimetable,
	loverTimetable,
	loverCount,
	scoreTerm,
	score,
	scoreXG,
	certificate,
	noScore,
	volunteers,
	bus,
	virusPlace,
	exam,
	scoreShare,
	scoreShareCancel,
	scoreReceive,
	scoreReceiveCancel,
	scoreGetShareScoreInfo,
	scoreReceiveInfo,
	scoreShareInfo,
	bookInfo,
	bookHistory,
	bookCurrent,
	scoreRankTypeList,
	scoreRankList,
	scoreSingleRankTypeList,
	scoreSingleRankList,
	interviewInfo,
	interviewType,
	searchQuestion,
	internshipList,
	internshipSign,
	enrollInfo,
	internshipAddRemind,
	tweetList,
	className,
	healthAddRemind,
	timetableAddOneRemind,
	scoreAnalyze,
	termScore
}
